<tagLib name="strends" />
<include file="Public:header" />
<div class="handle-btns">
	<strends:linkBtn text="{%RETURN_LIST}" href="{:U(MODULE_NAME.'/index')}" />
</div>
<form method='post' id="form" name="form" action="{:U(MODULE_NAME.'/insert')}">
<table cellpadding="4" cellspacing="0" border="0" class="table-form">
	<tr>
		<th width="150">{%NAME}</th>
		<td><input type="text" class="textinput requireinput" name="name" /></td>
	</tr>
	<tr>
		<th width="150">{%LEVEL_NUM}</th>
		<td><input type="text" class="textinput requireinput" name="level_num" />&nbsp;&nbsp;{%NUM_COMMEN}</td>
	</tr>
	<tr>
		<th>{%IMAGE}</th>
		<td><input type="text" class="textinput requireinput" name="image" /></td>
	</tr>
	<tr>
		<th>&nbsp;</th>
		<td><p>{%IMAGE_TIPS}</p></td>
	</tr>
	<tr>
		<th>{%DESC}</th>
		<td>
			<textarea name="desc" class="areainput" rows="3"></textarea>
		</td>
	</tr>
	<tr class="auto_type_tr">
		<th>{%CONDITIONS_CONTINUE_SCORE}</th>
		<td>
			<span style=" font-family:Simsun;margin:0 5px 0 8px; font-weight:700;">>&nbsp;= </span>
			<input type="text" class="textinput" name="score" size="3" />&nbsp;&nbsp;积分
		</td>
	</tr>
	<tr class="auto_type_tr">
		<th>{%CONDITIONS_CONTINUE_MEDAL}</th>
		<td>
			<span style=" font-family:Simsun;margin:0 5px 0 8px; font-weight:700;">>&nbsp;= </span>
			<input type="text" class="textinput" name="medal" size="3" />&nbsp;&nbsp;枚
		</td>
	</tr>
	<tr class="auto_type_tr">
		<th>{%CONDITIONS_CONTINUE_MISSION}</th>
		<td>
			<span style=" font-family:Simsun;margin:0 5px 0 8px; font-weight:700;">>&nbsp;= </span>
			<input type="text" class="textinput" name="mission" size="3" />&nbsp;&nbsp;个
		</td>
	</tr>
	<tr class="auto_type_tr">
		<th>{%CONDITIONS_CONTINUE_ATTENTION}</th>
		<td>
			<span style=" font-family:Simsun;margin:0 5px 0 8px; font-weight:700;">>&nbsp;= </span>
			<input type="text" class="textinput" name="attention" size="3" />&nbsp;&nbsp;个
		</td>
	</tr>
	<tr class="auto_type_tr">
		<th>{%CONDITIONS_CONTINUE_BEST}</th>
		<td>
			<span style=" font-family:Simsun;margin:0 5px 0 8px; font-weight:700;">>&nbsp;= </span>
			<input type="text" class="textinput" name="best" size="3" />&nbsp;&nbsp;篇
		</td>
	</tr>
	
	<tr class="act">
		<th>&nbsp;</th>
		<td>
			<input type="submit" class="submit_btn" value="{%SUBMIT}" />
			<input type="reset" class="reset_btn" value="{%RESET}" />
		</td>
	</tr>
</table>
</form>
<script type="text/javascript">
jQuery(function(){
	$(".give_type").change(function(){
		$(".auto_type_tr").hide();
		$(".manual_type_tr").hide();
		if(this.value == 0 && this.checked)
			$(".auto_type_tr").show();
		else
			$(".manual_type_tr").show();
	});
	
	/*$("#conditions").change(function(){
		var option = $("#conditions option:selected").get(0);
		if(option.getAttribute('isContinue') == null)
			$(".continue_tr").hide();
		else
			$(".continue_tr").show();
	});*/
});
</script>
<include file="Public:footer" />